package com.example.demo.buessiness.user.model.po;



import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.GeneratorType;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "user")
@Getter
@Setter
public class User {

    @Id
    @Column(name = "ID" , nullable = false)
    private Long id ;

    @Column(name = "JOBNUMBER" )
    private Integer jobnumber ;


    @Column(name = "USERNAME" )
    private String username ;


    @Column(name = "PASSWORD" )
    private String password ;


    @Column(name = "AGE" )
    private Integer age ;


    @Column(name = "COMPANY" )
    private String company ;

    @Column(name = "DEPARTMENT" )
    private String department ;

    @Column(name = "SEX" )
    private String sex ;
}
